package com.jeecms.wicool.entity.user.base;

import java.sql.Timestamp;

import com.jeecms.wicool.entity.shops.Coupon;
import com.jeecms.wicool.entity.user.UserInfo;


/**
 * AbstractCoupon entity provides the base persistence definition of the
 * Coupon entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractUserCoupon implements java.io.Serializable {

	// Fields

	private Integer id;
	private UserInfo user;
	private Integer couponType;
	private String couponTypeName;
	private Coupon coupon;
	private Integer couponSource;
	private String couponSourceName;
	private Short status;
	private String statusName;
	private Timestamp usedTime;
	private Timestamp createTime;
	private Timestamp endTime;
	
	private String usedTimeStr;
	
	private String createTImeStr;
	
	private String endTimeStr;
	

	public String getUsedTimeStr() {
		return usedTimeStr;
	}


	public void setUsedTimeStr(String usedTimeStr) {
		this.usedTimeStr = usedTimeStr;
	}


	public String getCreateTImeStr() {
		return createTImeStr;
	}


	public void setCreateTImeStr(String createTImeStr) {
		this.createTImeStr = createTImeStr;
	}


	public String getEndTimeStr() {
		return endTimeStr;
	}


	public void setEndTimeStr(String endTimeStr) {
		this.endTimeStr = endTimeStr;
	}


	/** default constructor */
	public AbstractUserCoupon() {
	}


	public AbstractUserCoupon(Integer id, UserInfo user, Integer couponType,
			String couponTypeName, Coupon coupon, Integer couponSource,
			String couponSourceName, Short status, String statusName,
			Timestamp usedTime, Timestamp createTime, Timestamp endTime) {
		super();
		this.id = id;
		this.user = user;
		this.couponType = couponType;
		this.couponTypeName = couponTypeName;
		this.coupon = coupon;
		this.couponSource = couponSource;
		this.couponSourceName = couponSourceName;
		this.status = status;
		this.statusName = statusName;
		this.usedTime = usedTime;
		this.createTime = createTime;
		this.endTime = endTime;
	}


	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}


	public UserInfo getUser() {
		return user;
	}


	public void setUser(UserInfo user) {
		this.user = user;
	}


	public Integer getCouponType() {
		return couponType;
	}


	public void setCouponType(Integer couponType) {
		this.couponType = couponType;
	}


	public String getCouponTypeName() {
		return couponTypeName;
	}


	public void setCouponTypeName(String couponTypeName) {
		this.couponTypeName = couponTypeName;
	}


	public Coupon getCoupon() {
		return coupon;
	}


	public void setCoupon(Coupon coupon) {
		this.coupon = coupon;
	}


	public Integer getCouponSource() {
		return couponSource;
	}


	public void setCouponSource(Integer couponSource) {
		this.couponSource = couponSource;
	}


	public String getCouponSourceName() {
		return couponSourceName;
	}


	public void setCouponSourceName(String couponSourceName) {
		this.couponSourceName = couponSourceName;
	}


	public Short getStatus() {
		return status;
	}


	public void setStatus(Short status) {
		this.status = status;
	}


	public String getStatusName() {
		return statusName;
	}


	public void setStatusName(String statusName) {
		this.statusName = statusName;
	}


	public Timestamp getUsedTime() {
		return usedTime;
	}


	public void setUsedTime(Timestamp usedTime) {
		this.usedTime = usedTime;
	}


	public Timestamp getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}


	public Timestamp getEndTime() {
		return endTime;
	}


	public void setEndTime(Timestamp endTime) {
		this.endTime = endTime;
	}


	
	
}